package com.oglvip.business.remote.service.entity;

import com.oglvip.business.util.DateUtil;
import lombok.Data;

import java.util.List;

/**
 * @auther hanchao
 * @date 2017/2/11 17:19
 */
@Data
public class OrderDetail {
    private Integer id;
    private String multipleOrderNo;
    private String orderNo;
    private String expressNo;
    private Integer userId;
    private SimpleAddress address;
    private Integer storeId;
    private String storeName;
    private Integer deliveryPrice;
    private Integer salePrice;
    private Integer totalPrice;
    private Integer totalGoods;
    private Long createTime;
    private String updateTime;
    private Integer status;
    private String statusDesc;
    private Integer payType;
    private String payTypeDesc;
    private String payTime;
    private Integer payStatus;
    private String remark;
    private String otherDelivery;
    private String deliveryNo;
    private Integer deliveryType;
    private String deliveryTypeDesc;
    private List<GoodsCartInfo> goods;

    public String getCreateTimeStr(){
        return DateUtil.timestatmpToNormalString(this.createTime);
    }
}
